package com.bobi.tfca.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 系统资源
 * @author 李文发
 * @date 2024/4/3
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "系统资源")
@TableName(value = "sys_resource")
public class SysResourceEntity {

    @TableId
    @ApiModelProperty(value = "id")
    // id
    private Integer id;
    @ApiModelProperty(value = "类别")
    // 类别（0：组织架构，1：会员权益，2：协会章程）
    private Integer category;
    @ApiModelProperty(value = "路径")
    private String path;
    @ApiModelProperty(value = "正文")
    private String plainText;
}
